|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.vtp.framework.engine.support.AbstractReporter
org.eclipse.vtp.framework.engine.support.AbstractLogger
public abstract class AbstractLogger
A support implementation of the ILogger interface.
| Field Summary |
|---|
| Fields inherited from interface org.eclipse.vtp.framework.core.IReporter |
|---|
SEVERITY_DEBUG, SEVERITY_ERROR, SEVERITY_INFO, SEVERITY_WARN |
| Constructor Summary | |
|---|---|
protected |
AbstractLogger()
Creates a new AbstractLogger. |
| Method Summary | |
|---|---|
void |
debug(java.lang.String message)
Creates and publishes a debug log entry with the specified attributes. |
void |
debug(java.lang.String[] categories,
java.lang.String message)
Creates and publishes a debug log entry with the specified attributes. |
void |
debug(java.lang.String[] categories,
java.lang.String message,
java.util.Dictionary properties)
Creates and publishes a debug log entry with the specified attributes. |
void |
debug(java.lang.String message,
java.util.Dictionary properties)
Creates and publishes a debug log entry with the specified attributes. |
protected void |
doLog(int severity,
java.lang.String[] categories,
java.lang.String message,
java.util.Dictionary properties)
Implementation of log entry creation and publication. |
void |
error(java.lang.String message)
Creates and publishes an error log entry with the specified attributes. |
void |
error(java.lang.String[] categories,
java.lang.String message)
Creates and publishes an error log entry with the specified attributes. |
void |
error(java.lang.String[] categories,
java.lang.String message,
java.util.Dictionary properties)
Creates and publishes an error log entry with the specified attributes. |
void |
error(java.lang.String message,
java.util.Dictionary properties)
Creates and publishes an error log entry with the specified attributes. |
void |
info(java.lang.String message)
Creates and publishes an informational log entry with the specified attributes. |
void |
info(java.lang.String[] categories,
java.lang.String message)
Creates and publishes an informational log entry with the specified attributes. |
void |
info(java.lang.String[] categories,
java.lang.String message,
java.util.Dictionary properties)
Creates and publishes an informational log entry with the specified attributes. |
void |
info(java.lang.String message,
java.util.Dictionary properties)
Creates and publishes an informational log entry with the specified attributes. |
boolean |
isDebugEnabled()
Returns true if the debug severity level is enabled. |
boolean |
isErrorEnabled()
Returns true if the error severity level is enabled. |
boolean |
isInfoEnabled()
Returns true if the informational severity level is enabled. |
boolean |
isWarnEnabled()
Returns true if the warning severity level is enabled. |
void |
log(int severity,
java.lang.String message)
Creates and publishes a log entry with the specified attributes. |
void |
log(int severity,
java.lang.String[] categories,
java.lang.String message)
Creates and publishes a log entry with the specified attributes. |
void |
log(int severity,
java.lang.String[] categories,
java.lang.String message,
java.util.Dictionary properties)
Creates and publishes a log entry with the specified attributes. |
void |
log(int severity,
java.lang.String message,
java.util.Dictionary properties)
Creates and publishes a log entry with the specified attributes. |
void |
warn(java.lang.String message)
Creates and publishes a warning log entry with the specified attributes. |
void |
warn(java.lang.String[] categories,
java.lang.String message)
Creates and publishes a warning log entry with the specified attributes. |
void |
warn(java.lang.String[] categories,
java.lang.String message,
java.util.Dictionary properties)
Creates and publishes a warning log entry with the specified attributes. |
void |
warn(java.lang.String message,
java.util.Dictionary properties)
Creates and publishes a warning log entry with the specified attributes. |
| Methods inherited from class org.eclipse.vtp.framework.engine.support.AbstractReporter |
|---|
doReport, report, report, report, report |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.eclipse.vtp.framework.core.IReporter |
|---|
isSeverityEnabled, report, report, report, report |
| Constructor Detail |
|---|
protected AbstractLogger()
| Method Detail |
|---|
protected void doLog(int severity,
java.lang.String[] categories,
java.lang.String message,
java.util.Dictionary properties)
severity - The severity of the log.categories - The categories the log entry pertains to or
null if no catagories are related.message - The message associated with the log entry or
null to not include a message.properties - The properties of the log entry or null if
no properties are specified.
public final void log(int severity,
java.lang.String message)
ILogger
log in interface ILoggerseverity - The severity of the log entry.message - The message associated with the log entry or
null to not include a message.
public final void log(int severity,
java.lang.String message,
java.util.Dictionary properties)
ILogger
log in interface ILoggerseverity - The severity of the log entry.message - The message associated with the log entry or
null to not include a message.properties - The properties of the log entry or null if
no properties are specified.
public final void log(int severity,
java.lang.String[] categories,
java.lang.String message)
ILogger
log in interface ILoggerseverity - The severity of the log entry.categories - The categories the log entry pertains to or
null if no catagories are related.message - The message associated with the log entry or
null to not include a message.
public final void log(int severity,
java.lang.String[] categories,
java.lang.String message,
java.util.Dictionary properties)
ILogger
log in interface ILoggerseverity - The severity of the log entry.categories - The categories the log entry pertains to or
null if no catagories are related.message - The message associated with the log entry or
null to not include a message.properties - The properties of the log entry or null if
no properties are specified.public final boolean isErrorEnabled()
ILogger
isErrorEnabled in interface ILoggerpublic final void error(java.lang.String message)
ILogger
error in interface ILoggermessage - The message associated with the log entry or
null to not include a message.
public final void error(java.lang.String message,
java.util.Dictionary properties)
ILogger
error in interface ILoggermessage - The message associated with the log entry or
null to not include a message.properties - The properties of the log entry or null if
no properties are specified.
public final void error(java.lang.String[] categories,
java.lang.String message)
ILogger
error in interface ILoggercategories - The categories the log entry pertains to or
null if no catagories are related.message - The message associated with the log entry or
null to not include a message.
public final void error(java.lang.String[] categories,
java.lang.String message,
java.util.Dictionary properties)
ILogger
error in interface ILoggercategories - The categories the log entry pertains to or
null if no catagories are related.message - The message associated with the log entry or
null to not include a message.properties - The properties of the log entry or null if
no properties are specified.public final boolean isWarnEnabled()
ILogger
isWarnEnabled in interface ILoggerpublic final void warn(java.lang.String message)
ILogger
warn in interface ILoggermessage - The message associated with the log entry or
null to not include a message.
public final void warn(java.lang.String message,
java.util.Dictionary properties)
ILogger
warn in interface ILoggermessage - The message associated with the log entry or
null to not include a message.properties - The properties of the log entry or null if
no properties are specified.
public final void warn(java.lang.String[] categories,
java.lang.String message)
ILogger
warn in interface ILoggercategories - The categories the log entry pertains to or
null if no catagories are related.message - The message associated with the log entry or
null to not include a message.
public final void warn(java.lang.String[] categories,
java.lang.String message,
java.util.Dictionary properties)
ILogger
warn in interface ILoggercategories - The categories the log entry pertains to or
null if no catagories are related.message - The message associated with the log entry or
null to not include a message.properties - The properties of the log entry or null if
no properties are specified.public final boolean isInfoEnabled()
ILogger
isInfoEnabled in interface ILoggerpublic final void info(java.lang.String message)
ILogger
info in interface ILoggermessage - The message associated with the log entry or
null to not include a message.
public final void info(java.lang.String message,
java.util.Dictionary properties)
ILogger
info in interface ILoggermessage - The message associated with the log entry or
null to not include a message.properties - The properties of the log entry or null if
no properties are specified.
public final void info(java.lang.String[] categories,
java.lang.String message)
ILogger
info in interface ILoggercategories - The categories the log entry pertains to or
null if no catagories are related.message - The message associated with the log entry or
null to not include a message.
public final void info(java.lang.String[] categories,
java.lang.String message,
java.util.Dictionary properties)
ILogger
info in interface ILoggercategories - The categories the log entry pertains to or
null if no catagories are related.message - The message associated with the log entry or
null to not include a message.properties - The properties of the log entry or null if
no properties are specified.public final boolean isDebugEnabled()
ILogger
isDebugEnabled in interface ILoggerpublic final void debug(java.lang.String message)
ILogger
debug in interface ILoggermessage - The message associated with the log entry or
null to not include a message.
public final void debug(java.lang.String message,
java.util.Dictionary properties)
ILogger
debug in interface ILoggermessage - The message associated with the log entry or
null to not include a message.properties - The properties of the log entry or null if
no properties are specified.
public final void debug(java.lang.String[] categories,
java.lang.String message)
ILogger
debug in interface ILoggercategories - The categories the log entry pertains to or
null if no catagories are related.message - The message associated with the log entry or
null to not include a message.
public final void debug(java.lang.String[] categories,
java.lang.String message,
java.util.Dictionary properties)
ILogger
debug in interface ILoggercategories - The categories the log entry pertains to or
null if no catagories are related.message - The message associated with the log entry or
null to not include a message.properties - The properties of the log entry or null if
no properties are specified.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||